package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点单据对象 wms_inventory_check
 * 
 * @author ruoyi
 * @date 2024-12-17
 */
public class InventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 库存盘点单号，系统自动生成 */
    @Excel(name = "库存盘点单号，系统自动生成")
    private String inventoryCheckNo;

    /** 库存盘点类型 */
    @Excel(name = "库存盘点类型")
    private Long inventoryCheckType;

    /** 库存盘点单状态11：盘点中 22：已完成 */
    @Excel(name = "库存盘点单状态11：盘点中 22：已完成")
    private Long inventoryCheckStatus;

    /** 盈亏数 */
    @Excel(name = "盈亏数")
    private BigDecimal inventoryCheckTotal;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long checkStatus;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long checkUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 所属仓库 */
    @Excel(name = "所属仓库")
    private Long warehouseId;

    /** 所属库区 */
    @Excel(name = "所属库区")
    private Long areaId;

    /** 删除标识 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryCheckNo(String inventoryCheckNo) 
    {
        this.inventoryCheckNo = inventoryCheckNo;
    }

    public String getInventoryCheckNo() 
    {
        return inventoryCheckNo;
    }
    public void setInventoryCheckType(Long inventoryCheckType) 
    {
        this.inventoryCheckType = inventoryCheckType;
    }

    public Long getInventoryCheckType() 
    {
        return inventoryCheckType;
    }
    public void setInventoryCheckStatus(Long inventoryCheckStatus) 
    {
        this.inventoryCheckStatus = inventoryCheckStatus;
    }

    public Long getInventoryCheckStatus() 
    {
        return inventoryCheckStatus;
    }
    public void setInventoryCheckTotal(BigDecimal inventoryCheckTotal) 
    {
        this.inventoryCheckTotal = inventoryCheckTotal;
    }

    public BigDecimal getInventoryCheckTotal() 
    {
        return inventoryCheckTotal;
    }
    public void setCheckStatus(Long checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Long getCheckStatus() 
    {
        return checkStatus;
    }
    public void setCheckUserId(Long checkUserId) 
    {
        this.checkUserId = checkUserId;
    }

    public Long getCheckUserId() 
    {
        return checkUserId;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryCheckNo", getInventoryCheckNo())
            .append("inventoryCheckType", getInventoryCheckType())
            .append("inventoryCheckStatus", getInventoryCheckStatus())
            .append("inventoryCheckTotal", getInventoryCheckTotal())
            .append("checkStatus", getCheckStatus())
            .append("checkUserId", getCheckUserId())
            .append("checkTime", getCheckTime())
            .append("warehouseId", getWarehouseId())
            .append("areaId", getAreaId())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
